﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="invite.aspx.cs" Inherits="account_invite" %>

<%@ OutputCache Duration="1" VaryByParam="none"%>
<%@ Register src="../UserControls/CFooterControl.ascx" tagname="CFooterControl" tagprefix="uc1" %>
<%@ Register src="../UserControls/CHeaderControl.ascx" tagname="CHeaderControl" tagprefix="uc2" %>
<%@ Register src="../UserControls/blockshare.ascx" tagname="blockshare" tagprefix="uc3" %>

<%@ Register src="../UserControls/blockinvitetip.ascx" tagname="blockinvitetip" tagprefix="uc3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">

    <div id="pagemasker"></div><div id="dialog"></div>
<div id="doc">

    <uc2:CHeaderControl ID="CHeaderControl1" runat="server" />
    <script src="http://widgets.manyou.com/misc/scripts/ab.js" type="text/javascript"></script>
    <div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="referrals">
	 <div id="content" class="refers">
        <div class="box clear">
            
            <div class="box-content">
                <div class="head"><h2>邀请有奖</h2></div>
                <div class="sect">
				
					<p class="notice-total">您已成功邀请 <strong><%=strCount %></strong> 人，累计获得 <strong><span class="money"><%=strCurrency%></span><%=strMoney %></strong> 返利，<a href="/account/refer.aspx">查看邀请成功列表</a>。</p>
					<p class="intro">当好友接受您的邀请，在<%=strWebName %>上首次成功购买，系统会在 24 小时内返还 <%=strInvitecredit%> 元到您的<%=strWebName%>电子账户，下次团购时可直接用于支付。没有数量限制，邀请越多，返利越多。</p>
					<div class="share-list">
						<div class="blk im">
							<div class="logo"><img src="<%=ImagePath() %>logo_qq.gif" /></div>
							<div class="info">
								<h4>这是您的专用邀请链接，请通过 MSN 或 QQ 发送给好友：</h4>
								<input id="share-copy-text" type="text" value="<%=strWebSite %>/?r=<%=strUserID %>" size="35" class="f-input" onfocus="this.select()" tip="复制成功，可以通过 MSN 或 QQ 发送给好友了" />
								<input id="share-copy-button" type="button" value="复制" class="formbutton" />
							</div>
						</div>
						<div class="blk">
							<div class="logo"><img src="<%=ImagePath()%>logo_msn.png" /></div>
							<div class="info finder-form">
								<h4>您可以直接邀请邮箱或MSN好友&nbsp;(<span><a href="javascript:;" onclick="MYABC.showChooser('recipients', '/account/invitemaillist.html', null, false, false, null);return false">点击邀请</a></span>)</h4>
								<div id="email_invitation" style="display:none;">
								
								 <p>
									<label for="recipients">邀请列表</label>
									<textarea name="recipients" id="recipients" class="f-input" rows="5" cols="50" require="true" datatype="require"></textarea>
								</p>

								 <p>
									<label for="invitation_content">邀请内容</label>
									<textarea name="invitation_content" id="invitation_content"  class="f-input" cols="50" rows="5" require="true" datatype="require">Hi，我最近发现了<%=strWebName%>，每天都有超级划算的产品进行团购活动，快来看看吧～</textarea>
								</p>
								<p>
									<label for="real_name">您的姓名</label>
									<input id="real_name" type="text" value="<%=strRealName %>" name="real_name" size="12" class="f-input"  require="true" datatype="require" />
								</p>
								<p class="commit"><input type="submit" class="formbutton" value="继续" /></p>
								
								</div>
							</div>
						</div>
					
                      <asp:Panel ID="pimg" runat="server" Visible="true">
						<div class="blk last">
							<div class="logo"><img src="<%=ImagePath() %>logo_share.gif" /></div>
							<div class="info">
								<h4>分享今日团购给好友，也可获<%=strInvitecredit%>元返利！</h4>
								<div class="deal-info">
                              
									<p class="pic"><a href="/team.aspx?id=<%=strTeamID %>" target="_blank"><img src="<%=strTeamImg %>" width="150" height="90" /></a></p>
									<p class="deal-title"><%=strTeamTitle %></p>
                                   
								</div>
								 <uc3:blockshare ID="blockshare1" runat="server" />
							</div>
                           </div>
                             </asp:Panel>
					
						</div>
                    <div class="clear"></div>
				</div>
				</div>
            </div>
            
        </div>
    </div>
    <div id="sidebar">
	<uc3:blockinvitetip ID="blockinvitetip1" runat="server" />
    </div>
</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->



    <uc1:CFooterControl ID="CFooterControl1" runat="server" />

    </div>

    </form>
</body>
</html>
